import {request} from '@/common/js/request.js'

// 获取墒情设备  分页
export function getMoistureList(data) {
	return request({
		url: '/app-api/equipment/info/page',
		method: 'get',
		data: 
		{
		...data,
		type:1
		}
	})
}

// 获取仁科设备
export function getMoistureAll() {
	return request({
		url: '/app-api/equipment/info/rk-list',
		method: 'get',
	})
}

// 获取单个设备详情页
export function getEquipmentOne(data) {
	return request({
		url: '/app-api/equipment/info/get',
		method: 'get',
		data
	})
}
